package edu.zust.zw.shop.service;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;

import edu.zust.zw.shop.db.dao.domain.ShopUserDomain;

public interface PicService {

     String uploadPic(String uploadUrl, File file, ShopUserDomain user) throws FileNotFoundException, IOException;
     
     String uploadPic(String uploadUrl, MultipartFile file, ShopUserDomain user) throws FileNotFoundException, IOException;
}
